package com.hcb.micro.service;

import java.util.List;
import java.util.Map;

import com.hcb.micro.dto.AccountPlatform;

public interface IAccountPlatformService {

    int deleteByPrimaryKey(Integer id);

    int insert(AccountPlatform record);

    int insertSelective(AccountPlatform record);

    AccountPlatform selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AccountPlatform record);

    int updateByPrimaryKey(AccountPlatform record);
    
    AccountPlatform selectByAccountId(Integer accountId);
    
    List<AccountPlatform> selectByPara(Map<String,Object> para);
    
    /**
     * 同意用户成为联盟商家
     * @param record
     * @return
     */
    int updateByAccountId(AccountPlatform record);
    
    /**
     * 获取申请合伙人用户
     * @param record
     * @return
     */
    List<AccountPlatform> selectGetIsPartner(Map<String,Object> para);
}
